package project.controllers.sort;

import java.util.Comparator;

import project.model.IOrder;

public class SortOrderByBeginningDate implements Comparator<IOrder> {

	public int compare(IOrder o1, IOrder o2) {
		int result=0;
		result= o1.getBeginingDate().compareTo(o2.getBeginingDate());
		return result;
	}
}
